-- GENERATED SPELL FOR [Holdout Warrior] --


function spell0_6391(pUnit, Event) --@Pummel,n/a--
pUnit:FullCastSpellOnTarget(12555,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6391', 5323, 1)
end

function spell1_6391(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6391', 595, 1)
end

function Sorts_6391(pUnit, Event)
local choix_sorts_6391 = math.random(0, 1)
if choix_sorts_6391 == 0 then
pUnit:RegisterEvent('spell0_6391', 1, 1)
end
if choix_sorts_6391 == 1 then
pUnit:RegisterEvent('spell1_6391', 1, 1)
end
end

function mob6391_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6391', math.random(1500, 3000), 1)
end

function mob6391_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6391_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6391_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6391, 1, 'mob6391_Action')
RegisterUnitEvent(6391, 2, 'mob6391_Leave')
RegisterUnitEvent(6391, 3, 'mob6391_Kill')
RegisterUnitEvent(6391, 4, 'mob6391_Die')
